Get all custom field definitions for the given organization.
GET/partner/v1.0/organizations/:organizationId/custom-fields
Get all custom field definitions for the given organization.
Request
Path Parameters
The ID of the organization in the Carbon Trail platform
Responses
- 200
OK
- text/plain
- application/json
- text/json
- Schema
- Example (from schema)
Schema
Array [
- CustomFieldDefinition
- SelectCustomFieldDefinition
- MultiSelectCustomFieldDefinition
- TextCustomFieldDefinition
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
]
oneOf
Represents a custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
The values allowed for this multi-select custom field.
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
Represents a select custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
circular(SelectCustomFieldDefinition)
The values allowed for this multi-select custom field.
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
The values allowed for this select custom field.
Represents a multi-select custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
circular(MultiSelectCustomFieldDefinition)
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
The values allowed for this multi-select custom field.
Represents a text custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
The values allowed for this multi-select custom field.
circular(TextCustomFieldDefinition)
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
[
{},
null,
null,
null
]
- Schema
- Example (from schema)
Schema
Array [
- CustomFieldDefinition
- SelectCustomFieldDefinition
- MultiSelectCustomFieldDefinition
- TextCustomFieldDefinition
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
]
oneOf
Represents a custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
The values allowed for this multi-select custom field.
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
Represents a select custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
circular(SelectCustomFieldDefinition)
The values allowed for this multi-select custom field.
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
The values allowed for this select custom field.
Represents a multi-select custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
circular(MultiSelectCustomFieldDefinition)
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
The values allowed for this multi-select custom field.
Represents a text custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
The values allowed for this multi-select custom field.
circular(TextCustomFieldDefinition)
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
[
{},
null,
null,
null
]
- Schema
- Example (from schema)
Schema
Array [
- CustomFieldDefinition
- SelectCustomFieldDefinition
- MultiSelectCustomFieldDefinition
- TextCustomFieldDefinition
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
- Select
- Multi-Select
- Text
]
oneOf
Represents a custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
The values allowed for this multi-select custom field.
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
Represents a select custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
circular(SelectCustomFieldDefinition)
The values allowed for this multi-select custom field.
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
The values allowed for this select custom field.
Represents a multi-select custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
circular(MultiSelectCustomFieldDefinition)
any
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
The values allowed for this multi-select custom field.
Represents a text custom field definition.
type
string
required
Possible values: [Select, Multi-Select, Text]
The values allowed for this select custom field.
The values allowed for this multi-select custom field.
circular(TextCustomFieldDefinition)
The unique identifier of the custom field definition.
The date and time when the custom field definition was created.
The date and time when the custom field definition was last updated.
The unique identifier of the organization associated with this custom field definition.
The name of the custom field.
Possible values: [All, Product, Fabric, Activity, Component, Facility, Supplier]
The list of entity types this custom field can be applied to.
[
{},
null,
null,
null
]